#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;
	
	/* TODO: Add more members if necessary */
	char expr[32];
	uint32_t old_val;


} WP;

typedef struct{
		WP *head;
		int next_NO;
}WPList;


extern WP *head;
WP* new_wp(void);
void free_wp(WP *wp);

#endif
